From: Matthias Clasen Date: Fri, 15 Jul 2022 11:42:35 +0000 (-0400) Subject: node-editor: Make the help more helpful X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~81^2^2~60^2~4 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=69336fa5f182b4ede201e0553afc9444c88f00d8;p=gtk4.git node-editor: Make the help more helpful I struggled to remember how newlines vs strings work in this format, so put it in the docs. --- diff --git a/demos/node-editor/node-format.md b/demos/node-editor/node-format.md index cc457f1a20..9664090274 100644 --- a/demos/node-editor/node-format.md +++ b/demos/node-editor/node-format.md @@ -13,6 +13,8 @@ Each node has its own `` and supports a custom set of properties, eac When serializing and the value of a property equals the default value, this value will not be serialized. Serialization aims to produce an output as small as possible. +To embed newlines in strings, use \A. To break a long string into multiple lines, escape the newline with a \. + # Nodes ### container